/**************************************************************************
** Qt Creator license header template
**   Special keywords: Programmer 2012/4/13 2012
**   Environment variables: 
**   To protect a percent sign, use '%'.
**************************************************************************/

#ifndef VETEXSPLITTER_H
#define VETEXSPLITTER_H
#include<vcg/simplex/face/pos.h>
#include<vcg/simplex/face/topology.h>
#include<vcg/complex/allocate.h>

template<class TriMeshType,class VSplitType>
class VertexSplitter
{
public:
    VertexSplitter();
    typedef TriMeshType MeshType;
    typedef typename MeshType::FaceType FaceType;
    typedef typename MeshType::VertexType VertexType;


    typedef vcg::face::VFIterator<FaceType> VFI;
    typedef std::vector<VFI> VFIVec;


    static void FindSets(VSplitType* vs,VFIVec& vfiVec){
        VFI vfi(vs->v);
        VertexType* vTmp = vs->vl;

        while(vfi.F()->V((vfi.z+2)%3) != vs->vr){

        }


    }
};

#endif // VETEXSPLITTER_H
